package com.temp.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class LangDTO {

    private Long id;

    @NotBlank(message = "apiMsg.langCodeNotNull")
    private String code;

    @NotBlank(message = "apiMsg.langIconNotNull")
    private String icon;

    @NotBlank(message = "apiMsg.langNameNotNull")
    private String name;

    @NotBlank(message = "apiMsg.langLocalNotNull")
    private String nativeName;

    @NotNull(message = "apiMsg.statusNotNull")
    private int status;

    private int sort;
}
